package com.sky.mapper.admin;

import com.sky.dto.GoodsSalesDTO;
import com.sky.vo.OrderDayAmountVo;
import com.sky.vo.OrderReportVO;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface ReportMapper {
    /**
     * 查询营业额
     * @param begin
     * @param
     * @return
     */
     List<OrderDayAmountVo> yingYeE(LocalDate begin, LocalDate endAdd1);


    /**
     *
     * @param begin
     * @param
     * @return
     */
    List<OrderDayAmountVo> orderStatistics(LocalDate begin, LocalDate end);

    /**
     * 根据日期 获取菜品名称和销量
     * @param begin
     * @param
     * @return
     */
    List<GoodsSalesDTO> top10(LocalDate begin, LocalDate end);
}
